<div id="login_form" style="margin: 0px; padding: 0.7em 0px 1em 0px;">
<div id="leftnav">
    <%= link_to "Всесибирская олимпиада", :controller => 'contest', :contest_name => 'pottosin' %> |
    <%= link_to "Imagine Cup", :controller => '/contest', :contest_name => 'imaginecup' %> |
    <%= link_to "Страничка жюри", :controller => 'jury' %>
    <!-- <br>
    <a style="" href="#">Участники</a> | Задачи | <b>Решения</b> -->
</div>
<div style="text-align: right; margin: 0px 2em 0px 0px;">
<% case current_user    
   when User -%>
<%= current_user.full_name %>
<% when Team -%>
<%= current_user.name %>
<% end %>
| <%= link_to "Выйти", :controller => "account", :action => "logout" %>
</div>
</div>
